package com.arouter;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * @作者: njb
 * @时间: 2019/7/26 16:44
 * @描述:
 */
public class Person {
    public String name;
    public String age;

    public Person() {
    }

    public Person(String name, String age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        if (TextUtils.isEmpty(name)) {
            return "";
        } else {
            return "name : " + name + "\n age : " + age;
        }
    }

}
